package org.blogwu.learn.designpattern.chapter12.v1;

/**
 * 类适配器模式
 *
 * @author hyf
 * @date 2018-10-28
 **/
public class Main {

    public static void main(String[] args) {
        // 原有逻辑
        Target target = new ConcreteTarget();
        target.request();

        // 适配器
        Target adapterTarget = new Adapter();
        adapterTarget.request();
    }
}
